package com.qdsg.ysg.doctor.entity;

import com.chad.library.adapter.base.entity.node.BaseExpandNode;
import com.chad.library.adapter.base.entity.node.BaseNode;

import java.util.List;


/**
 * @Description: java类作用描述
 * @Author: lzp
 * @CreateDate: 2023/12/20 14:22
 * @UpdateRemark: 更新说明
 */
public class SecondNode extends BaseExpandNode {

    private List<BaseNode> childNode;
    private String ztflName;

    public SecondNode(List<BaseNode> childNode, String title) {
        this.childNode = childNode;
        this.ztflName = title;

        setExpanded(false);
    }

    public String getTitle() {
        return ztflName;
    }

    @Override
    public List<BaseNode> getChildNode() {
        return childNode;
    }
}